| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Effect.h
1 // Effect.h
3 //
5
6 namespace nkAstraeus
7 {
15 class Effect
16 {
17 public :
18
24 Effect (EFFECT_TYPE type) noexcept ;
28 virtual ~Effect () ;
29
30 // Getters
34 nkMemory::StringView getName () const ;
38 nkGraphics::Shader* getShader () const ;
42 EFFECT_TYPE getType () const ;
43
44 // Setters
53 void setName (nkMemory::StringView value) ;
54
55 // Load
61 virtual bool load () = 0 ;
65 virtual void unload () = 0 ;
66 } ;
67 }
nkAstraeus::Effect::Effect
Effect(EFFECT_TYPE type) noexcept
nkAstraeus::Effect::load
virtual bool load()=0
nkAstraeus::Effect::setName
void setName(nkMemory::StringView value)
nkAstraeus::EFFECT_TYPE
EFFECT_TYPE
Lists all effects supported.
Definition: EffectType.h:12
nkAstraeus::Effect::getName
nkMemory::StringView getName() const
nkAstraeus::Effect::unload
virtual void unload()=0
nkGraphics::Shader
A shader class, feeding data to a Program.
Definition: Shader.h:16
nkAstraeus::Effect::~Effect
virtual ~Effect()
nkAstraeus
Encompasses all API of component NilkinsAstraeus.
Definition: BlurComplexEffect.h:7
nkAstraeus::Effect
Base class for all effects in the component.
Definition: Effect.h:16
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkAstraeus::Effect::getType
EFFECT_TYPE getType() const
nkAstraeus::Effect::getShader
nkGraphics::Shader * getShader() const